package ch.trackedbean.server.data.dom;

public class CountryDom implements Dom {
	/**
	 * Property constant for {@link #getKey()}/{@link #setKey(int)}. Type {@link int}.
	 */
	public static final String ATTR_KEY = "key";

	/**
	 * Property constant for {@link #getName()}/{@link #setName(String)}. Type {@link String}.
	 */
	public static final String ATTR_NAME = "name";

	private Integer key;

	private String name;

	/**
	 * @param key
	 * @param name
	 */
	public CountryDom(Integer key, String name) {
		this.key = key;
		this.name = name;
	}

	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return Returns the key.
	 */
	public Integer getKey() {
		return key;
	}

	/**
	 * @param key The key to set.
	 */
	public void setKey(Integer key) {
		this.key = key;
	}
}
